package com.zatech.cgnci.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zatech.cgnci.project.dto.*;
import com.zatech.cgnci.project.entity.CgnciProportionalLiabilityInvoiceDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zatech.cgnci.project.vo.ContractInvoiceDetailsVO;
import com.zatech.cgnci.project.vo.ContractInvoiceVO;
import com.zatech.cgnci.project.vo.LiabilityInvoiceDetailsVO;
import com.zatech.cgnci.project.vo.ProportionalLiabilityInvoiceVO;

/**
 * <p>
 * 临分摊赔账单信息 服务类
 * </p>
 *
 * @author Generator
 * @since 2024-12-30
 */
public interface CgnciProportionalLiabilityInvoiceService extends IService<CgnciProportionalLiabilityInvoiceDO> {

    IPage<ProportionalLiabilityInvoiceVO> pageQuery(ProportionalLiabilityInvoiceDTO queryDTO);

    void insertClaimSettlement(String caseNo,String settlementType);
    /**
     * 临分摊赔账单信息新增接口
     * @param addDTO
     */
    void addContractInvoice(ProportionalLiabilityInvoiceAddDTO addDTO);

    LiabilityInvoiceDetailsVO getDetails(Long id);

    /**
     * 合约账单更新UPM接口
     * @param updateDTO
     */
    void updateUpm(ContractInvoiceUpmUpDTO updateDTO);

    /**
     * 根据id删除合约账单
     * @param updateDTO
     */
    void delete(Long id,String invoiceNumber);
}
